<template><router-view></router-view></template>

<script setup lang="ts">
import { useUserStore } from "./store/user";
const UserStore = useUserStore();
if (sessionStorage.getItem("User")) {
  let username = JSON.parse(sessionStorage.getItem("User"));
  UserStore.setUser(username);
}
</script>
